//环境参数
const env = process.env.NODE_ENV;

let mysql_config;
if(env === "development") {
    mysql_config = {
        host: "localhost",
        port: "3306",
        user: "root",
        password: "123",
        database: "blog"
    }
}
if(env === "production") {
    mysql_config = {
        host: "localhost",
        port: "3306",
        user: "root",
        password: "123",
        database: "blog"
    }
}

module.exports = mysql_config;